EndUpdate
Use the EndUpdate procedure to finish updating a window.
PROCEDURE EndUpdate (theWindow: WindowPtr);
- theWindow
- A pointer to the window's window record.
DESCRIPTION
The EndUpdate procedure restores the normal visible region of a window's graphics port. When you receive an update event for a window, you call BeginUpdate, redraw the update region, and then call EndUpdate. Each call to BeginUpdate must be balanced by a subsequent call to EndUpdate.
SEE ALSO
See Figure 4-21 on page 4-49 for an illustration of how BeginUpdate and EndUpdate affect the visible region and update region. See Listing 4-10 on page 4-50 for an example that updates a window.